package com.cvte.shop.constants;

import com.cvte.shop.enums.UserGradeEnum;

/**
 * @author DaiShubo
 * @version 1.0
 * @description 用户的常量类
 * @createTime 2020/7/28 4:55 下午
 * @since 1.7
 **/
public class UserConstants {

    /**
     * 存在session中用户的标志
     */
    public static String USER_TOKEN = "user_token";

    /**
     * 用户等级拦截器拦截的路径code
     */
    public static Integer INTERCEPTOR_URL_USER_CODE = UserGradeEnum.PLATINUM.getCode();

    /**
     * 账户状态：正常
     */
    public static Integer ACCOUNT_STATUS_NORMAL = 1;

    /**
     * 账户状态：冻结
     */
    public static Integer ACCOUNT_STATUS_FREEZE = 2;

    /**
     * 账户状态：禁用
     */
    public static Integer LOGOUT_STATUS_DISABLE = 3;



}
